package com.young.coordin.server.service;

import com.young.interfaces.coordin.model.HeartbeatDTO;
import com.young.interfaces.coordin.model.RegisterDTO;
import com.young.interfaces.coordin.model.CoordinResponse;

/**
 * 注册服务
 * Created by Admin on 2020/12/10.
 */
public interface ICoordinRegisterService {
    /**
     * 注册
     * @param registerDTO
     */
    CoordinResponse register(RegisterDTO registerDTO);

    /**
     * 心跳处理
     * @param heartbeatDTO 心跳参数
     */
    CoordinResponse heartbeat(HeartbeatDTO heartbeatDTO);

}
